package com.zzz.poker.controller;

import com.zzz.poker.feign.WeChatFeignService;
import com.zzz.share.common.core.result.ResponseResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @BelongsProject: share
 * @BelongsPackage: com.zzz.poker.controller
 * @Author: zwq
 * @CreateTime: 2025-05-27  18:59
 * @Description: 微信小程序控制层
 * @Version: 1.0
 */
@RestController
@RequestMapping("/weChat/miniProgram")
@Tag(name = "微信小程序控制层")
public class WeChatMiniProgramController {

    @Autowired
    private WeChatFeignService weChatFeignService;

    @GetMapping("/login")
    @Operation(summary = "微信小程序登录")
    public ResponseResult<String> login(String jsCode){

        return ResponseResult.success("登录成功");
    }
}
